'Declaration
Public Overloads Function GetValue(Of T)( _ ByVal defaultValue As T _ ) As T
'Usage
Dim instance As DataValue Dim defaultValue As T Dim value As T value = instance.GetValue(Of T)(defaultValue)
public T GetValue<T>( T defaultValue )
public: T^ GetValuegeneric<typename T> ( T^ defaultValue )
Parameters
- defaultValue
- The default value to return if any error occurs.
Type Parameters
- T
- The type of object.
Return Value
The value.